# Contributor: Francesco Colista <fcolista@alpinelinux.org>
# Maintainer: Francesco Colista <fcolista@alpinelinux.org>
pkgname=py3-sphinx-theme-quark
_pkgname=quark-sphinx-theme
pkgver=0.6.0
pkgrel=2
pkgdesc="A Sphinx theme for Qt toolkit’s QTextBrowser"
url="https://gitlab.com/fkrull/quark-sphinx-theme"
arch="noarch"
license="BSD-2-Clause"
depends="py3-sphinx python3"
makedepends="py3-setuptools"
checkdepends="py3-html5lib"
subpackages="$pkgname-pyc"
source="https://files.pythonhosted.org/packages/source/q/quark-sphinx-theme/quark-sphinx-theme-$pkgver.tar.gz
	tinycss.patch
	"
builddir="$srcdir"/$_pkgname-$pkgver

build() {
	python3 setup.py build
}

check() {
	python3 setup.py test
}

package() {
	python3 setup.py install --skip-build --root="$pkgdir"
}

sha512sums="
7750459947e83f067ff165af632e5ac59db3487d622c367384e9e47a08e5a01c0ea34dd578f0deb70e9924cb45bda15fde5ecebcbc99a0611565f5c926392ea9  quark-sphinx-theme-0.6.0.tar.gz
5d820b06f6a3d2fe713a3f6d66849ae3c9735a13cd9cd8169020e4468f1b58ec8c4238407a8de33a0660cc82a950c6e2bd13363d41f3a56f1775fc790779d8ca  tinycss.patch
"
